import { createRouter, createWebHistory} from "vue-router";

const Menu = () => import('../view/menu/index.vue');
const routes = [
    { path: "/", redirect: "/home" },
    {
        path: "/merchants-announcement",
        name: "home",
        component: Menu
    },
    {
        path: "/login",
        name: "login",
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
});

export default router;

